#ifndef CONFIG_H_
#define CONFIG_H_

#include <string>

namespace crawler { namespace server {
class Config {
 public:
  Config(int argc, char * const *argv);
  int server_port() const { return server_port_; }
  std::string store_db_path() const { return store_db_path_; }
  std::string homepage() const { return homepage_; }
  bool need_help() const { return need_help_; }

 private:
  int          server_port_;
  std::string  store_db_path_;
  std::string  homepage_;
  bool         need_help_;
};
}}

#endif
